'''
Created on Feb 27, 2024

@author: SMIPOD
Simple demo of chr and ord
'''


#Create a string with all letters of alphabet
alpha = ""
for code  in range(ord("A"), ord("Z") +1):
    print(code, chr(code), "alpha", alpha)
    #add chr(code) to alpha
    alpha  += chr(code)   # same as = alpha + chr(code)
    
print(alpha)